Ext.define('Usws.view.Header', {
    extend: 'Ext.Container',
    xtype: 'appHeader',
    id: 'app-header',
    height: 65,
    layout: {
        type: 'hbox',
        align: 'middle'
    },
    initComponent: function() {
        this.items = [{
            xtype: 'component',
            id: 'app-header-title',
            html: "<img src='/images/logo.png' border='1' heigth='65'/>",
            flex: 1
        }
       /* ,
        {
            xtype: 'component',
            id: 'app-header-info',
            align:'rigth',
            html: "<a href='#'>首页</a>",
            flex: 1
        } */
        ];
        this.callParent();
    }
});
